﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
 

namespace MX.Core.Http.WebAction
{

    public delegate void OnComplatedFun<in T>(T arg);

    public interface IRunner<T>
    {
        void Start();
        void Init(params  object[] pars);
        void Stop();
        void Suspend();
        void Resume();
        void SetOnComplated(OnComplatedFun<T> fun);
    }
}
